﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http.Filters;

namespace API.Models
{
    public class CustomActionFilterAttribute : ActionFilterAttribute
    {
        /// <summary>
        /// 方法执行后
        /// </summary>
        /// <param name="actionExecutedContext"></param>
        //public override void OnActionExecuted(HttpActionExecutedContext
        //  actionExecutedContext)
        //{
        //    //修改下response
        //    actionExecutedContext.Response.Headers.Add("Access-Control-Allow-Origin", "*");
        //    base.OnActionExecuted(actionExecutedContext);
        //}

    }
}